//
//  LTPlayTableViewCell.m
//  聆听FM
//
//  Created by dllo on 16/6/15.
//  Copyright © 2016年 Dark. All rights reserved.
//

#import "LTPlayTableViewCell.h"

@implementation LTPlayTableViewCell

- (void)dealloc
{
    [self.timer invalidate];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    self.timer = [NSTimer scheduledTimerWithTimeInterval:0.2 target:self selector:@selector(timeAction) userInfo:nil repeats:YES];
}
- (void)timeAction
{
    self.playImage.transform = CGAffineTransformRotate(self.playImage.transform, M_PI / 180 * 10);
}

- (void)setModel:(ZCSListenListListModel *)model
{
    if (_model != model) {
        _model = model;
        self.titleLabel.text = model.title;
    }
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
